// Haxzs Audio Server
// made by omghaxzs
// 2010

#ifndef WINDOW_H
#define WINDOW_H

#include <curses.h>
#include <signal.h>
#include <string>

class window {
	
public:
	WINDOW *win;
	short current_color;
	int maxlines;

	window(int, int, int, int);
	virtual ~window();
	void printMsg(std::string);
	void printMsg(int, int, std::string);
	void centerMsg(int, int, int, std::string);
	void cursor(int, int);
	void color(int);
	void clrcolor(int);
	void wborder();
	void scrollwnd(bool);

	static void setup();

};

extern window *clientw;
extern window *sourcew;
#endif
